using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using syntaxChecker;


namespace simulatorMain
{
    class MIPS_simulator
    {
        
        static void Main()
        {
            Console.WriteLine("Please enter the name of the TXT file which includes your program {0}", Environment.NewLine);
            string filename = Console.ReadLine();
            Console.WriteLine("{0}", Environment.NewLine);

            StreamReader codeStream = new StreamReader(filename);
            syntaxCheck.checkSyntax(codeStream);
            Console.Read();
        }
    }
}
